package server;

import java.io.IOException;
import java.nio.ByteBuffer;

public interface StorageUnit {

	public void delete() throws IOException;

	public int read(ByteBuffer bytes) throws IOException;

	public void seek(long size) throws IOException;

	public void setSize(long size) throws IOException;

	public long size() throws IOException;

	public int write(ByteBuffer bytes) throws IOException;
}
